package com.imooc.mall.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
public class PayInfo {
    private Integer id;

    private Integer userId;

    private Long orderNo;

    private Integer payPlatform;

    private String platformNumber;

    private String platformStatus;

    private BigDecimal payAmount;

    private Date createTime;

    private Date updateTime;

    //ID自增不需要写
    public PayInfo(Long orderNo,
                   Integer payPlatform,
                   String platformStatus,
                   BigDecimal payAmount,
                   Date createTime,
                   Date updateTime) {
        this.orderNo = orderNo;
        this.payPlatform = payPlatform;
        this.platformStatus = platformStatus;
        this.payAmount = payAmount;
        this.createTime=createTime;
        this.updateTime=updateTime;
    }
}